﻿using MediatR;
using Traceability.ErrorCode;
using Traceability.Read.Api.Dto;

namespace Traceability.Read.Api.Application.Command.CommodityCommand
{
    public class GetCommodityCommand:IRequest<ApiPaging<List<CommodityDto>>>
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public int? CommodityNameId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? C_Times { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public string? Time { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? Permit { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Enterprise { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
